<?php /* Smarty version Smarty-3.1.13, created on 2013-05-12 12:50:51
         compiled from "views\content_right.html" */ ?>
<?php /*%%SmartyHeaderCode:892051769674a13162-09814136%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd02feb71374dad4612e8516754ef1481731a692d' => 
    array (
      0 => 'views\\content_right.html',
      1 => 1368363048,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '892051769674a13162-09814136',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_51769674a3ff06_64090699',
  'variables' => 
  array (
    'product' => 0,
    'images' => 0,
    'pictures' => 0,
    'license' => 0,
    'version' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51769674a3ff06_64090699')) {function content_51769674a3ff06_64090699($_smarty_tpl) {?>
<div class="right_content">
  <div class="pd_info">
    <div class="pd_info_left">
      <div class="pd_name">
        <p class=""><?php echo $_smarty_tpl->tpl_vars['product']->value[0]["fdName"];?>
</p>
        <p class="pd_promotion"><?php echo $_smarty_tpl->tpl_vars['product']->value[0]["fdTarget"];?>
</p>
      </div>
      <div class="pd_brief"><?php echo $_smarty_tpl->tpl_vars['product']->value[0]["fdDescription"];?>
 </div>
    </div>
    <div class="pd_info_mid">
      <div class="pd_show"> 
        <!-- <?php echo $_smarty_tpl->tpl_vars['images']->value[0]['FileURL'];?>
 -->
        <div class="pd_show_img jqzoom" id="spec-n1"> <img src="<?php echo $_smarty_tpl->tpl_vars['pictures']->value[0]["FileURL"];?>
" jqimg="<?php echo $_smarty_tpl->tpl_vars['pictures']->value[0]["FileURL"];?>
" width="144" height="192"> </div>
        <div class="pd_show_slide"> <a class="jcarousel-prev control" id="spec-left" href="javascript:;"></a>
          <div class="jcarousel-clip" id="spec-list">
            <ul class="list-h">
              <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['uID'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['uID']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['name'] = 'uID';
$_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['pictures']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['uID']['total']);
?>
              <li><img src="<?php echo $_smarty_tpl->tpl_vars['pictures']->value[$_smarty_tpl->getVariable('smarty')->value['section']['uID']['index']]["FileURL"];?>
" width="32" height="42"></li>
              <?php endfor; endif; ?>
            </ul>
          </div>
          <a class="jcarousel-next control" id="spec-right" href="javascript:;"></a> </div>
      </div>
    </div>
    <div class="pd_info_right">
      <p class="pd_price_old">定价：￥<?php echo $_smarty_tpl->tpl_vars['product']->value[0]["fdListPrice"];?>
.00</p>
      <p class="pd_price">优惠：<i>￥<?php echo $_smarty_tpl->tpl_vars['product']->value[0]["fdPrice"];?>
.00</i></p>
      <p class="check_t">授权方式：</p>
      <p> 
	  <a class="check_item check_item_active" href="details.php?pid=<?php echo $_smarty_tpl->tpl_vars['product']->value[0]['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['product']->value[0]["fdLicense"];?>
<i class="icon_check"></i></a>
	  <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['lID'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['lID']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['name'] = 'lID';
$_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['license']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['lID']['total']);
?>
	  <a class="check_item" href="details.php?pid=<?php echo $_smarty_tpl->tpl_vars['license']->value[$_smarty_tpl->getVariable('smarty')->value['section']['lID']['index']]['fdRelateID'];?>
"><?php echo $_smarty_tpl->tpl_vars['license']->value[$_smarty_tpl->getVariable('smarty')->value['section']['lID']['index']]['fdLicense'];?>
<i class="icon_check"></i></a> <?php endfor; endif; ?> </p>
      <p class="check_t">选择版本：</p>
      <p> 
	  <a class="check_item check_item_active" href="details.php?pid=<?php echo $_smarty_tpl->tpl_vars['product']->value[0]['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['product']->value[0]["fdVersion"];?>
<i class="icon_check"></i></a>
	  <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['vID'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['vID']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['name'] = 'vID';
$_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['version']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['vID']['total']);
?>
	  <a class="check_item" href="details.php?pid=<?php echo $_smarty_tpl->tpl_vars['version']->value[$_smarty_tpl->getVariable('smarty')->value['section']['vID']['index']]['fdRelateID'];?>
"><?php echo $_smarty_tpl->tpl_vars['version']->value[$_smarty_tpl->getVariable('smarty')->value['section']['vID']['index']]['fdVersion'];?>
<i class="icon_check"></i></a> <?php endfor; endif; ?> </p>
      <a href="cart.php?apid=<?php echo $_smarty_tpl->tpl_vars['product']->value[0]['id'];?>
&t=add" class="btn_cart">加入购物车</a> </div>
    <div style="clear:both;"></div>
  </div>
  <div class="pd_details"> <?php echo $_smarty_tpl->tpl_vars['product']->value[0]["fdMemo"];?>
 </div>
</div>
</div>
<script type="text/javascript" src="js/base.js"></script> 
<script type="text/javascript" src="js/jquery.jcarousel.min.js"></script> 
<script type="text/javascript" src="js/lib.js"></script> 
<script type="text/javascript" src="js/163css.js"></script> 
<script type="text/javascript">
	$(function(){			
	   $(".jqzoom").jqueryzoom({
			xzoom:300,
			yzoom:300,
			offset:10,
			position:"left",
			preload:1,
			lens:1
		});
		
		$("#spec-list img").bind("mouseover",function(){
			var src=$(this).attr("src");
			$("#spec-n1 img").eq(0).attr({
				src:src.replace("\/n5\/","\/n1\/"),
				jqimg:src.replace("\/n5\/","\/n0\/")
			});
		});		
	})
	$(document).ready(function() {
	  $(".left_nav_list li").bind("click",function(){
		  $(this).siblings().removeClass("active");
		  $(this).addClass("active");
	  });
	  
	  $(".check_item").bind("click",function(){
		  $(this).siblings().removeClass("check_item_active");
		  $(this).addClass("check_item_active");
	  });
	  
	  $('.pd_show_slide').jcarousel({
	  });
	});
</script><?php }} ?>